
require("Scripts/Common/Utility")
require("Scripts/Common/Class")
require("Scripts/UISystem/UISystem")

function Global_MouseMoved(x, y)
	g_UISystem:HandleMouseMoved(x, y)
end

function Global_LButtonDown(x, y)
	g_UISystem:HandleLButtonDown(x, y)
end

function Global_LButtonUp(x, y)
	g_UISystem:HandleLButtonUp(x, y)
end

function Global_MButtonDown(x, y)
	g_UISystem:HandleMButtonDown(x, y)
end

function Global_MButtonUp(x, y)
	g_UISystem:HandleMButtonUp(x, y)
end

function Global_RButtonDown(x, y)
	g_UISystem:HandleRButtonDown(x, y)
end

function Global_RButtonUp(x, y)
	g_UISystem:HandleRButtonUp(x, y)
end

function Global_MouseWheel(x, y)
	g_UISystem:HandleMouseWheel(x, y)
end

function Global_KeyDown(mod, sym, scancode)
	g_UISystem:HandleKeydown(mod, sym, scancode)
end

function Global_KeyUp(mod, sym, scancode)
end

function Global_Window_Resized(width, height)
	g_UISystem:HandleWindowResized(width, height)
end

function Global_TextInput(text)
	g_UISystem:HandleTextInput(text)
end
